<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/6/3
  Time: 11:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录成功</title>
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
    <div class="container">
        <a class="navbar-brand" href="#">SSM Web应用</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav ml-auto">
                <li class="nav-item">
                    <a class="nav-link" href="/logout">退出</a>
                </li>
            </ul>
        </div>
    </div>
</nav>

<div class="jumbotron jumbotron-fluid text-center bg-primary text-white">
    <div class="container">
        <h1 class="display-4">欢迎你</h1>
        <p class="lead">请从以下选项中选择一个功能</p>
    </div>
</div>

<div class="container mt-5">
    <div class="row">
        <div class="col-lg-4 mb-4">
            <div class="card">
                <div class="card-body">
                    <h3 class="card-title">爬虫模块</h3>
                    <p>请前往爬虫页面进行测试：</p>
                    <a href="/spider" target="_blank" class="btn btn-success btn-block">网络爬虫页面</a>
                </div>
            </div>
        </div>
        <div class="col-lg-4 mb-4">
            <div class="card">
                <div class="card-body">
                    <h3 class="card-title">SQL注入</h3>
                    <p>请前往SQL注入靶场页面进行测试：</p>
                    <a href="/sql-injection" target="_blank" class="btn btn-danger btn-block">SQL注入靶场</a>
                </div>
            </div>
        </div>
        <div class="col-lg-4 mb-4">
            <div class="card">
                <div class="card-body">
                    <h3 class="card-title">报告</h3>
                    <p>查看报告：</p>
                    <a href="/report" target="_blank" class="btn btn-info btn-block">查看报告</a>
                </div>
            </div>
        </div>
    </div>
</div>

<footer class="footer bg-dark text-white text-center mt-5">
    <div class="container">
        <p class="mb-0 py-3">&copy; 2024 基于SSM实现爬虫和Sql注入的Web应用. 保留所有权利.</p>
    </div>
</footer>

<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
